﻿using System;
using TaxiService.Domain.Framework;

namespace TaxiService.Domain
{
  public class Location : IValueObject, IGeoLocation, ICityLocation
  {
    public double Latitude
    {
      get { throw new NotImplementedException(); }
    }

    public double Longitude
    {
      set { throw new NotImplementedException(); }
    }

    public string Address
    {
      get { throw new NotImplementedException(); }
    }
  }

  public interface IGeoLocation
  {
    double Latitude { get; }
    double Longitude { set; }
  }

  public interface ICityLocation
  {
    string Address { get; }
  }
}
